"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
var app = getApp();
var WxParse = require("../../../../wxParse/wxParse.js");
exports.default = Page({
  data: {},
  onLoad: function onLoad() {
    var _this = this;
    var openid = wx.getStorageSync("openid");
    wx.request({
      url: app.globalData.host,
      data: {
        mod: "do",
        act: "set",
        ssid: openid,
        opt: "help"
      },
      method: "post", // OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT
      header: {
        "Content-Type": "application/x-www-form-urlencoded"
      },
      success: function success(res) {
        // success
        //console.log(res);
        WxParse.wxParse("article_content", "html", res.data.info, _this, 5);
      },
      fail: function fail() {
        // fail
      },
      complete: function complete() {
        // complete
      }
    });
  }
});